/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package iservice;

import bean.*;
import java.util.Date;
import javax.mail.MessagingException;

/**
 *
 * @author root
 */
public interface IEmailNotifyService {
    /**
     * 发送简单文本Email消息
     * @param emailVo
     */
    public void sendEmailMessageOfSimpleText(EmailVo emailVo, Date date);

    /**
     * 发送HTML格式的消息
     * @param emailVo
     * @param date
     */
    public void sendEmailMessageOfHtmlText(EmailVo emailVo , Date date) throws MessagingException;

    /**
     * 带附件并且html格式邮件发送,带附件并简单文本格式邮件发送
     * @param emailVo
     * @param date 
     * @param isHtmlText 
     */
    public void sendEmailMessageOfAttachedFileAndSimpleText(EmailVo emailVo, Date date, boolean isHtmlText) throws MessagingException;
}
